package service;

import java.util.List;

import dao.DingDao;
import entity.Ding;

public class Ding_ser {
//	public static void main(String[] args) {
//		selectDingservice();
//	}
	
	public List<Ding>  selectDingservice() {		
		DingDao dd=new DingDao();
		List<Ding> dlist=dd.selctallding();
		System.out.println(dlist);
		if(dlist!=null){
			return dlist;
		}else {
			return null;
		}			
	}
}
